<?php
namespace App\Service\CommonDataService;
use App\Service\VendorClient\CommonDataService\CommonDataApiClient;
use App\Service\Code\Normal;
use App\Service\BaseService;

/**
 * 获取上下游服务对接配置
 * @author chenshubo
 */
class ServerConfigDataService extends BaseService
{
    /**
     * 获取service config 服务功能
     * @param string $service_code
     * @param int $service_type
     * @param string $service_platform_value
     * @param bool $is_single_field
     */
    public function queryServiceConfig(string $service_code, int $service_type,string $service_platform_value,bool $is_single_field = true)
    {
        return CommonDataApiClient::instance()->queryServiceConfig($service_code,$service_type,$service_platform_value,$is_single_field);
    }
}